<?php
class OrderViewModel extends ViewModel{
	protected $tableName='order_list';
	protected $viewFields=array(
		'order_list'=>array(
			'id','quantity','subtotal','mark',
			),
		'goods'=>array(
			'id'=>'gid','name','unit',
			'_on'=>'order_list.gid=goods.id'
			)
		);
}
?>